#TOCBtn {
  display: block;
  position: fixed;
  top: 60px;
  right: 30px;
  z-index: 2;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #42b983;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#TOCBtn:hover {
  background-color: #1a222c;
}

@media screen and (max-width: 500px) {
#TOCBtn {
  display: block;
  position: fixed;
  top: 60px;
  right: 0;
  z-index: 2;
  font-size: 12px;
  padding: 5px;
}
}